Heartbeat

class Heartbeat : GeneratedMessage, MeshProtos.HeartbeatOrBuilder

A heartbeat message is sent to the node from the client to keep the connection alive.
This is currently only needed to keep serial connections alive, but can be used by any PhoneAPI.
Protobuf type meshtastic.Heartbeat

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , MeshProtos.HeartbeatOrBuilder

A heartbeat message is sent to the node from the client to keep the connection alive.
This is currently only needed to keep serial connections alive, but can be used by any PhoneAPI.
Protobuf type meshtastic.Heartbeat

Properties

Link copied to clipboard

Functions

Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getNonce(): Int

The nonce of the heartbeat message
uint32 nonce = 1;
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.Heartbeat
Link copied to clipboard
open fun parseFrom(data: ByteString): MeshProtos.Heartbeat
open fun parseFrom(input: CodedInputStream): MeshProtos.Heartbeat
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): MeshProtos.Heartbeat
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): MeshProtos.Heartbeat
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.Heartbeat
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): MeshProtos.Heartbeat
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): MeshProtos.Heartbeat
Link copied to clipboard
open fun parser(): Parser<MeshProtos.Heartbeat>
Link copied to clipboard
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)